package com.codeyang.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 描述: TO-删除标志-DO
 *
 * @author CodeYang_Site
 * @version 2021/5/31 14:04
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "购物车金额")
public class CartMoney {


    @ApiModelProperty("最终付款金额")
    private BigDecimal finalMoney = BigDecimal.ZERO;
    @ApiModelProperty("总金额")
    private BigDecimal totalMoney = BigDecimal.ZERO;
    @ApiModelProperty("满减金额")
    private BigDecimal subtractMoney = BigDecimal.ZERO;
    @ApiModelProperty("总的商品数")
    private Integer prodTotalCount = 0;

}
